google在android4.4封闭了操作外置sd卡的功能,业界一片吐槽,so,在android5.0提供了全新的方式去操作外置sdcard。 1.首先获得外置sdcard的路径: extSdcardPath = System.getenv("SECONDARY_STORAGE"...
google在android4.4封闭了操作外置sd卡的功能,业界一片吐槽,so,在android5.0提供了全新的方式去操作外置sdcard。 1.首先获得外置sdcard的路径: extSdcardPath = System.getenv("SECONDARY_STORAGE"...